import java.util.Scanner;
public class Text {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        // 输入长宽高
        Cuboid cuboid = new Cuboid(scanner.nextDouble(),scanner.nextDouble(), scanner.nextDouble());
        System.out.println("这是体积计算："+cuboid.volume());
        System.out.println("这是底面积计算："+cuboid.area());
        System.out.println("另一种实例化方式：");
        System.out.println("这是底面积计算："+cuboid.area());
        System.out.println("这是体积计算："+cuboid.volume());
    }
}
